<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
define('EmpireCMSConfig',TRUE);

//数据库设置
$phome_use_db='mysql';	//数据库类型
$phome_use_dbver='5.0';	//数据库版本
$phome_db_server='localhost';	//数据库登陆地址
$phome_db_port='';	//端口，不填为按默认
$phome_db_username='root';	//数据库用户名
$phome_db_password='';	//数据库密码
$phome_db_dbname='empirecms';	//数据库名
$phome_db_char='utf8';	//设置默认编码
$phome_db_dbchar='utf8';	//数据库默认编码
$dbtbpre='phome_';	//数据表前缀
$ecmslang='gb';	//语言包

//页面编码设置
$phome_ecms_charver='utf-8';	//安装CMS的编码版本
$phome_headercharset=1;	//页面默认字符集,0=关闭 1=开启

//后台相关配置
$do_openonlinesetting=3;	//开启后台在线配置参数(0为关闭,1为开启防火墙配置,2为开启安全配置,3为全开启)

//其它配置
$do_openbqquery=1;	//开启标签支持sql语句查询(0为不支持,1为开启)
$do_openreadfile=0;	//开启标签支持读取本地文件,一般不要开启(0为不支持,1为开启)
$do_txtpath=ECMS_PATH.'d/txt/';	//文本型数据存放目录
$saveurlimgclearurl=0;	//远程保存图片自动去除图片的链接(0为保留,1为去除)
$ecmsdeftempid=0;	//默认模板组ID


//-------EmpireCMS.Seting.area-------

//后台安全设置
$do_loginauth='jat';	//登录认证码,如果设置登录需要输入此认证码才能通过
$do_ecookiernd='nRAmYyiU539kcMPC2rmv3LdK8mRgqi';	//后台登录COOKIE认证码(填写10~50个任意字符，最好多种字符组合)
$do_ckhloginfile=0;	//后台是否启用文件验证,0为验证,1为不验证
$do_ckhloginip=0;	//后台是否验证登录IP,0为不验证,1为验证
$do_theloginlog=0;	//是否记录登陆日志(0为记录,1为不记录)
$do_thedolog=0;		//是否记录操作日志(0为记录,1为不记录)

//COOKIE设置
$phome_cookiedomain='';		//cookie作用域
$phome_cookiepath='/';		//cookie作用路径
$phome_cookievarpre='lbzzj';		//前台cookie变量前缀
$phome_cookieadminvarpre='qvbvg';		//后台cookie变量前缀
$phome_cookieckrnd='tWNP2hqdU8Dbd4U9f9vTYXchczK3dp';	//COOKIE验证随机码(填写10~50个任意字符，最好多种字符组合)

//网站防火墙配置
$efw_open=0;	//开启防火墙(0为关闭,1为开启)
$efw_pass='';	//防火墙加密密钥(填写10~50个任意字符，最好多种字符组合)
$efw_adminloginurl='';	//允许后台登陆的域名,设置后必须通过这个域名才能访问后台
$efw_adminhour='';	//允许登陆后台的时间：0~23小时，多个时间点用半角逗号格开
$efw_adminweek='';	//允许登陆后台的星期：星期0~6，多个星期用半角逗号格开
$efw_adminckpassvar='';	//后台预登陆验证变量名
$efw_adminckpassval='';	//后台预登陆认证码
$efw_cleargettext='';	//屏蔽提交敏感字符，多个用半角逗号格开

//-------EmpireCMS.Seting.area-------


//文件类型
$tranpicturetype=',.jpg,.gif,.png,.bmp,.jpeg,';	//图片
$tranflashtype=',.swf,.flv,.dcr,';	//FLASH
$mediaplayertype=',.wmv,.asf,.wma,.mp3,.asx,.mid,.midi,';	//mediaplayer
$realplayertype=',.rm,.ra,.rmvb,.mp4,.mov,.avi,.wav,.ram,.mpg,.mpeg,';	//realplayer



//***************** 以下部分为缓存，不用设置 **************

//-------EmpireCMS.Public.Cache-------

//------------e_public
$public_r=array('sitename'=>'户外活动',
'newsurl'=>'/cms/em/',
'filetype'=>'|.gif|.jpg|.swf|.rar|.zip|.mp3|.wmv|.txt|.doc|',
'filesize'=>2048,
'relistnum'=>8,
'renewsnum'=>100,
'min_keyboard'=>0,
'max_keyboard'=>20,
'search_num'=>20,
'search_pagenum'=>16,
'newslink'=>0,
'checked'=>0,
'pltime'=>20,
'searchtime'=>3,
'loginnum'=>5,
'logintime'=>60,
'addnews_ok'=>0,
'register_ok'=>0,
'indextype'=>'.html',
'goodlencord'=>0,
'goodtype'=>'',
'searchtype'=>'.html',
'exittime'=>40,
'smalltextlen'=>160,
'defaultgroupid'=>1,
'fileurl'=>'/cms/em/d/file/',
'install'=>0,
'phpmode'=>0,
'plsize'=>500,
'plincludesize'=>0,
'dorepnum'=>300,
'loadtempnum'=>50,
'bakdbpath'=>'bdata',
'bakdbzip'=>'zip',
'downpass'=>'EmpireCMS',
'filechmod'=>1,
'loginkey_ok'=>0,
'tbname'=>'news',
'limittype'=>0,
'plkey_ok'=>1,
'redodown'=>1,
'downsofttemp'=>'[ <a href=\"#ecms\" onclick=\"window.open(\'[!--down.url--]\',\'\',\'width=300,height=300,resizable=yes\');\">[!--down.name--]</a> ]',
'onlinemovietemp'=>'[ <a href=\"#ecms\" onclick=\"window.open(\'[!--down.url--]\',\'\',\'width=300,height=300,resizable=yes\');\">[!--down.name--]</a> ]',
'havefp'=>0,
'fpnum'=>0,
'lctime'=>1222406370,
'candocode'=>1,
'opennotcj'=>0,
'listpagetemp'=>'页次：[!--thispage--]/[!--pagenum--]&nbsp;每页[!--lencord--]&nbsp;总数[!--num--]&nbsp;&nbsp;&nbsp;&nbsp;[!--pagelink--]&nbsp;&nbsp;&nbsp;&nbsp;转到:[!--options--]',
'reuserpagenum'=>50,
'revotejsnum'=>100,
'readjsnum'=>100,
'qaddtran'=>1,
'qaddtransize'=>25000,
'ebakthisdb'=>1,
'delnewsnum'=>300,
'markpos'=>5,
'markimg'=>'../data/mark/maskdef.gif',
'marktext'=>'',
'markfontsize'=>'5',
'markfontcolor'=>'',
'markfont'=>'../data/mark/cour.ttf',
'adminloginkey'=>1,
'php_outtime'=>0,
'listpagefun'=>'sys_ShowListPage',
'textpagefun'=>'sys_ShowTextPage',
'adfile'=>'thea',
'notsaveurl'=>'',
'rssnum'=>50,
'rsssub'=>300,
'savetxtf'=>',article.newstext,',
'dorepdlevelnum'=>300,
'listpagelistfun'=>'sys_ShowListMorePage',
'listpagelistnum'=>12,
'infolinknum'=>100,
'searchgroupid'=>0,
'opencopytext'=>0,
'reuserjsnum'=>100,
'reuserlistnum'=>8,
'opentitleurl'=>1,
'searchtempvar'=>1,
'showinfolevel'=>0,
'navfh'=>'>',
'spicwidth'=>105,
'spicheight'=>118,
'spickill'=>1,
'jpgquality'=>80,
'markpct'=>65,
'redoview'=>24,
'reggetfen'=>0,
'regbooktime'=>30,
'revotetime'=>30,
'fpath'=>0,
'filepath'=>'Y-m-d',
'nreclass'=>',',
'nreinfo'=>',65,',
'nrejs'=>',',
'nottobq'=>',',
'defspacestyleid'=>1,
'canposturl'=>'',
'openspace'=>0,
'defadminstyle'=>1,
'realltime'=>0,
'closeip'=>'',
'openip'=>'',
'hopenip'=>'',
'plface'=>'||[~e.jy~]##1.gif||[~e.kq~]##2.gif||[~e.se~]##3.gif||[~e.sq~]##4.gif||[~e.lh~]##5.gif||[~e.ka~]##6.gif||[~e.hh~]##7.gif||[~e.ys~]##8.gif||[~e.ng~]##9.gif||[~e.ot~]##10.gif||',
'plfacenum'=>10,
'textpagelistnum'=>6,
'memberlistlevel'=>4,
'ebakcanlistdb'=>0,
'keytog'=>0,
'keytime'=>30,
'keyrnd'=>'i4aMGMCGZ3aA5sqSWEFDjaxg9AWzHf',
'checkdorepstr'=>',2,0,0,0,',
'regkey_ok'=>0,
'opengetdown'=>0,
'gbkey_ok'=>0,
'fbkey_ok'=>0,
'newaddinfotime'=>0,
'classnavs'=>'<a href=\"/cms/em/act/\">最新活动</a>&nbsp;|&nbsp;<a href=\"/cms/em/tribe/\">圈子管理</a>',
'plgroupid'=>0,
'adminstyle'=>',1,2,',
'docnewsnum'=>300,
'openschall'=>1,
'schallfield'=>1,
'schallminlen'=>1,
'schallmaxlen'=>20,
'schallnum'=>20,
'schallpagenum'=>16,
'dtcanbq'=>1,
'dtcachetime'=>43200,
'defpltempid'=>1,
'buycarnum'=>0,
'shopddgroupid'=>0,
'repkeynum'=>0,
'regacttype'=>0,
'opengetpass'=>0,
'hlistinfonum'=>30,
'qlistinfonum'=>25,
'dtncanbq'=>1,
'dtncachetime'=>43200,
'readdinfotime'=>0,
'qeditinfotime'=>0,
'onclicktype'=>0,
'onclickfilesize'=>10,
'onclickfiletime'=>60,
'schalltime'=>0,
'defprinttempid'=>1,
'opentags'=>1,
'tagstempid'=>1,
'usetags'=>',1,2,3,4,5,6,7,8,',
'chtags'=>'',
'tagslistnum'=>25,
'closeqdt'=>0,
'settop'=>0,
'deftempid'=>1);
//------------e_public

//-------EmpireCMS.Public.Cache-------

$emod_pubr=Array('linkfields'=>'|');

$etable_r=array();
$etable_r['news']=Array('deftb'=>'1',
'yhid'=>0,
'mid'=>1);
$etable_r['shop']=Array('deftb'=>'1',
'yhid'=>0,
'mid'=>6);
$etable_r['article']=Array('deftb'=>'1',
'yhid'=>0,
'mid'=>7);
$etable_r['tribe']=Array('deftb'=>'1',
'yhid'=>0,
'mid'=>11);
$etable_r['actives']=Array('deftb'=>'1',
'yhid'=>0,
'mid'=>10);


$emod_r=array();
$emod_r[1]=Array('mid'=>1,
'mname'=>'新闻系统模型',
'qmname'=>'新闻',
'defaulttb'=>1,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,ftitle,special.field,newstime,titlepic,smalltext,writer,befrom,newstext,',
'qenter'=>',title,ftitle,special.field,titlepic,smalltext,writer,befrom,newstext,',
'listtempf'=>',title,ftitle,newstime,titlepic,smalltext,diggtop,',
'tempf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,diggtop,',
'mustqenterf'=>',title,newstext,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,smalltext,',
'cj'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'canaddf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'caneditf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'tbdataf'=>',writer,befrom,newstext,',
'tobrf'=>',title,special.field,titlepic,newstime,ftitle,smalltext,writer,befrom,newstext,diggtop,',
'dohtmlf'=>',title,special.field,titlepic,newstime,ftitle,smalltext,writer,befrom,newstext,diggtop,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',newstext,',
'ubbeditorf'=>',',
'pagef'=>'newstext',
'smalltextf'=>',smalltext,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|69|',
'tid'=>1,
'tbname'=>'news');
$emod_r[6]=Array('mid'=>6,
'mname'=>'商城系统模型',
'qmname'=>'商品',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'qenter'=>',',
'listtempf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'tempf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'mustqenterf'=>',title,newstext,',
'listandf'=>',pbrand,',
'setandf'=>0,
'searchvar'=>',title,productno,pbrand,intro,price,newstext,',
'cj'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'canaddf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'caneditf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'tbdataf'=>',',
'tobrf'=>',title,special.field,titlepic,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,productpic,newstext,',
'dohtmlf'=>',title,special.field,titlepic,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,productpic,newstext,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',newstext,',
'ubbeditorf'=>',',
'pagef'=>'newstext',
'smalltextf'=>',',
'filef'=>',',
'imgf'=>',titlepic,productpic,',
'flashf'=>',',
'linkfields'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|49|48|47|46|',
'tid'=>6,
'tbname'=>'shop');
$emod_r[7]=Array('mid'=>7,
'mname'=>'文章系统模型',
'qmname'=>'文章',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,ftitle,special.field,newstime,titlepic,smalltext,writer,befrom,newstext,',
'qenter'=>',title,ftitle,special.field,titlepic,smalltext,writer,befrom,newstext,',
'listtempf'=>',title,ftitle,newstime,titlepic,smalltext,diggtop,',
'tempf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,diggtop,',
'mustqenterf'=>',title,newstext,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,smalltext,',
'cj'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'canaddf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'caneditf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'tbdataf'=>',',
'tobrf'=>',title,special.field,titlepic,newstime,ftitle,smalltext,writer,befrom,newstext,diggtop,',
'dohtmlf'=>',title,special.field,titlepic,newstime,ftitle,smalltext,writer,befrom,newstext,diggtop,',
'checkboxf'=>',',
'savetxtf'=>'newstext',
'editorf'=>',newstext,',
'ubbeditorf'=>',',
'pagef'=>'newstext',
'smalltextf'=>',smalltext,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|57|56|55|',
'tid'=>7,
'tbname'=>'article');
$emod_r[10]=Array('mid'=>10,
'mname'=>'最新活动系统模型',
'qmname'=>'最新活动',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,active_cover,adduser,tel,stepup_name,active_type,travel_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_set,jingdianmiaoshu,trip_plan,equipment_request,active_contruction,',
'qenter'=>',title,active_cover,adduser,tel,stepup_name,active_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_set,jingdianmiaoshu,trip_plan,equipment_request,active_contruction,',
'listtempf'=>',title,active_cover,adduserid,adduser,tel,stepup_name,active_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_set,jingdianmiaoshu,trip_plan,equipment_request,active_contruction,',
'tempf'=>',title,active_cover,adduserid,adduser,tel,second_header,stepup_name,active_type,active_kind,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_end_time,tags,join_set,permit,insurance_request,insurance_type,jingdianmiaoshu,trip_plan,spend_detail,equipment_request,active_contruction,',
'mustqenterf'=>',title,active_cover,adduser,tel,stepup_name,active_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,join_set,jingdianmiaoshu,equipment_request,active_contruction,',
'listandf'=>',title,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,trip_plan,active_contruction,',
'setandf'=>0,
'searchvar'=>',title,active_type,active_strong,start_time,end_time,start_city,target_city,',
'cj'=>',title,active_cover,tel,stepup_name,active_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_set,jingdianmiaoshu,trip_plan,equipment_request,active_contruction,',
'canaddf'=>',title,active_cover,tel,stepup_name,active_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_set,jingdianmiaoshu,trip_plan,equipment_request,active_contruction,',
'caneditf'=>',title,active_cover,adduser,tel,stepup_name,active_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_set,jingdianmiaoshu,trip_plan,equipment_request,active_contruction,',
'tbdataf'=>',',
'tobrf'=>',jingdianmiaoshu,',
'dohtmlf'=>',good_vote,tribe_id,adduser,jingdianmiaoshu,tel,second_header,stepup_name,adduserid,active_type,active_kind,travel_type,active_strong,start_time,end_time,start_city,target_city,address,together_time,together_address,spend,person_num,person_limit,join_end_time,tags,join_set,permit,insurance_request,insurance_type,trip_plan,spend_detail,equipment_request,active_contruction,active_cover,status,join_person_num,comment_num,focus_num,',
'checkboxf'=>',travel_type,',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',',
'filef'=>',',
'imgf'=>',titlepic,active_cover,',
'flashf'=>',',
'linkfields'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>',start_time,end_time,start_city,',
'sonclass'=>'|65|',
'tid'=>14,
'tbname'=>'actives');
$emod_r[11]=Array('mid'=>11,
'mname'=>'圈子模型',
'qmname'=>'圈子',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,content,type,province,city,tags,permission,',
'qenter'=>',title,content,type,province,city,tags,permission,',
'listtempf'=>',',
'tempf'=>',title,cover_url,content,type,province,city,tags,permission,',
'mustqenterf'=>',title,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>'',
'cj'=>',title,',
'canaddf'=>',title,content,type,province,city,tags,permission,',
'caneditf'=>',title,content,type,province,city,tags,permission,',
'tbdataf'=>',',
'tobrf'=>',',
'dohtmlf'=>',notice_content,join_num,status,cover_url,content,type,province,city,tags,permission,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',',
'filef'=>',',
'imgf'=>',cover_url,titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|69|',
'tid'=>15,
'tbname'=>'tribe');


//-------EmpireCMS.Public.Cache-------

?>